/*************************************************************************
> File Name: struct.c
> Author: hzy
> Created Time: 2023-08-07 16:40:12
> Description: struct增强
************************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

struct Stu
{
private:
public:
    int num;
    char name[32];

public:
    void func(void)
    {
        printf("func\n");
    }
};

int main(int argc, char const *argv[])
{
    struct Stu stu1;

    printf("%d %s\n", stu1.num, stu1.name);

    Stu stu2;
    printf("%d %s\n", stu2.num, stu2.name);

    return 0;
}